import React, { Component } from 'react'
import SearchState from './SearchState'
import { Searchhistory } from './SearchStyle'
@SearchState
class Searchlx extends Component {
    render() {

        return (
            <Searchhistory>
                <div className='title'>搜索历史 </div>
                <div className='his'>
                    {
                        this.props.searchs && (
                            this.props.searchs.map(item => {
                                return (
                                    <>
                                        <p>{item.get('name')}</p>
                                    </>
                                )
                            })
                        )
                    }
                </div>

            </Searchhistory>
        )
    }
}
export default Searchlx